package org.swinglife.log.webapi;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by zhufe on 2017/9/25.
 * 用于开启日志注解
 */
@Target(ElementType.METHOD) //作用方法
@Retention(RetentionPolicy.RUNTIME) //运行时有效
public @interface  SLLog {

    public boolean show() default true;

    public String content() default "";
}